﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true"
    CodeBehind="Batismo.aspx.cs" Inherits="Presentation.Pages.Batismo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function abrir(urlImage) {
            window.open(urlImage, "Apresentação", "width=625px, height=480px");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel runat="server" Style="margin: 10px; font-size: larger" ID="panelBody">
                <asp:Repeater runat="server" ID="rptAno">
                    <ItemTemplate>
                        <asp:LinkButton runat="server" Text='<%#Eval("Ano") %>' CommandArgument='<%#Eval("Ano") %>'
                            OnClick="ano_Click" />
                    </ItemTemplate>
                </asp:Repeater>
                <asp:Repeater ID="rptMes" runat="server">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" Text='<%#Eval("Mes") %>' CommandArgument='<%#Eval("MesAno") %>'
                            OnClick="mes_Click" />
                    </ItemTemplate>
                </asp:Repeater>
                <asp:Repeater ID="rptFotos" runat="server">
                    <ItemTemplate>
                        <asp:Image ID="Image9" Height="100px" AlternateText="Batismo" onclick='<%#Eval("ScriptClick") %>'
                            Width="140px" runat="server" ImageUrl='<%# Eval("Diretorio") %>' Style="float: left;
                            margin: 5px; cursor: pointer" />
                    </ItemTemplate>
                </asp:Repeater>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
</asp:Content>
